package beans;

import com.google.gson.Gson;

public class TaskStatusTypesItemBean {
	private int id;
	private String name;
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getJson() {
		StringBuffer sb = new StringBuffer();
		Gson gson = new Gson();
		
		sb.append("{");
		sb.append("\"id\": " + gson.toJson(id) + ",");
		sb.append("\"name\": " + gson.toJson(name));
		sb.append("}");
		
		return sb.toString();
	}

}
